package io.terminus.paas.profiler.service

import io.terminus.paas.profiler.model.Permission

/**
 * Created by gengrong on 16/3/25.
 */
interface PermissionService {
    fun findByServiceId(registryAddress: String, serviceId: String): Permission

    fun savePermission(registryAddress: String, serviceId: String, allow: String, denial: String)
}